//
//  ResizeView.h
//  ModuleTesting
//
//  Created by duc nguyen van on 8/31/11.
//  Copyright 2011 STU. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

@protocol delegateResizeView <NSObject>
-(void)resizeWithView:(CGSize)s;
-(void)hasEndedMove;
@end

@interface ResizeView : UIView <UIGestureRecognizerDelegate> {
	UIView *checkOne;
	UIView *checkTwo;
	UIView *checkThree;
	UIView *checkFour;
	UIView *checkFive;
	UIView *checkSix;
	UIView *checkSeven;
	UIView *checkEight;
	
	id<delegateResizeView> delegate;
	
	//vexter move
	CGPoint BPoint;
	CGPoint EPoint;
	
	//Bool scale an moving
	BOOL isRisize;
	BOOL isMove;
	int tagView;
}

@property (assign) id<delegateResizeView> delegate;

@end
